package com.example.birdfriends.service;

import com.example.birdfriends.pojo.message.Message;

import java.util.List;

public interface MessageService {
    public List<Message> findMessagesBySidAndRid(Long senderId, Long receiverId);
    public int addMessage(Message message);
    public int updateMessageReadState(Message message);
    public int countUnReadMsgs(Long curLoginUid, Long friendId);
}
